package com.sunwayworld.basemodule.samplemanage.location.dao;

import com.sunwayworld.basemodule.samplemanage.location.bean.LimsLocationBean;
import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import com.sunwayworld.framework.support.base.dao.GenericDao;

import java.util.List;
import java.util.Map;

public interface LimsLocationDao extends GenericDao<LimsLocationBean, Long> {

    List<LimsLocationBean> selectTreeNodeList(MapperParameter parameter);

    String selectMaxSorterByLevel(String level);

    void deleteByGroup(String group);

    int selectTreeNodeCount(MapperParameter parameter);

    String selectMaxSorterByParam(MapperParameter temp);

    List<Map<String, Object>> staticData(String codeCategoryId);

    String selectNextLayer(String level);

    String selectNextLayer(String level,String groupId);

    List<Map<String, Object>> selectBoardList();

    void updateColorFlag(String locationNo, String color);

    List<Map<String, Object>> kshStorageSelectable();
}
